<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="/js/bootstrap.min.js"></script>
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <title>Document</title>
    <style>
        aside {
            background-color: #2e3f50;
            width: 15%;
            height: 100vh;
            float: left;
            color: #fff;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: center;
        }

        header {
            width: 85%;
            background-color: #5268b7;
            color: #fff;
            height: 70px;
            float: right;
            border-radius: 2px;
        }

        .name {
            margin: 10px 0;
            line-height: 60px;
        }

        aside a {
            color: #fff;
        }
        aside a:hover {
            color: #999;
            text-shadow: 3px 3px 5px #000;
        }
        aside a.active {
            color: #999;
            text-shadow: 3px 3px 5px #000;
        }

        main {
            width: 85%;
            float: right;
        }
    </style>
</head>
<body>

<aside class="shadow">
    <p class="h3">smbms</p>
    <p class="name"><span th:text="${session.username}">李明</span></p>
    <nav class="nav flex-column">
        <a class="nav-link " href="/home">
            <i class="bi bi-house-door-fill"></i>
            <span>首页</span>
        </a>
        <a class="nav-link" href="/showUser">
            <i class="bi bi-people-fill"></i>
            <span>用户管理</span>
        </a>
        <a class="nav-link" href="/showBill">
            <i class="bi bi-receipt-cutoff"></i>
            <span>账单管理</span>
        </a>
        <a class="nav-link active" href="#">
            <i class="bi bi-cart-fill"></i>
            <span>供应商管理</span>
        </a>
        <a class="nav-link" href="/editPasswordHTML">
            <i class="bi bi-gear-fill"></i>
            <span>个人设置</span>
        </a>
        <a class="nav-link" href="/quit">
            <i class="bi bi-box-arrow-left"></i>
            <span>退出</span>
        </a>
    </nav>
</aside>

<header class="navbar shadow">
    <h3>超市账单管理系统</h3>
</header>

<main>
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="home.html">首页</a></li>
            <li class="breadcrumb-item" aria-current="page"><a href="providerList.html">供应商管理</a></li>
            <li class="breadcrumb-item active" aria-current="page">供应商基本信息</li>
        </ol>
    </nav>

    <div class="jumbotron" style="padding: 20px;">
        <p class="provider-detail">供应商基本信息</p>
        <hr>
        <form>
            <div class="form-inline form-row-margin">
                <div class="form-group">
                    <label for="proid" class="form-label">供应商编码</label>
                    <input type="text" class="form-control" id="proid" name="proid" value="" placeholder="PRO-CODE—001" disabled required>
                </div>
                <div class="form-group">
                    <label for="proName" class="form-label">供应商名称</label>
                    <input type="text" class="form-control" id="proName" name="proName" value="" placeholder="测试供应商001" disabled required>
                </div>
            </div>
            <div class="form-inline form-row-margin">
                <div class="form-group">
                    <label for="proContact" class="form-label">供应商联系人</label>
                    <input type="text" class="form-control" id="proContact" name="proContact" value="" placeholder="韩露" disabled required>
                </div>
                <div class="form-group">
                    <label for="proPhone" class="form-label">供应商联系电话</label>
                    <input type="text" class="form-control" id="proPhone" name="proPhone" value="" placeholder="15918230478" disabled required>
                </div>
            </div>
            <div class="form-inline form-row-margin">
                <div class="form-group">
                    <label for="proAddress" class="form-label">供应商地址</label>
                    <input type="text" class="form-control" id="proAddress" name="proAddress" value="" placeholder="武汉" disabled required>
                </div>
                <div class="form-group">
                    <label for="proFax" class="form-label">供应商传真号</label>
                    <input type="text" class="form-control" id="proFax" name="proFax" value="" placeholder="15918230478" disabled required>
                </div>
            </div>
            <div class="form-inline form-row-margin">
                <div class="form-group">
                    <label for="proDesc" class="form-label">供应商描述</label>
                    <textarea class="form-control" id="proDesc" name="proDesc" rows="3" placeholder="本公司位于湖北武汉" disabled></textarea>
                </div>
            </div>
            <a class="btn btn-primary btn-return" href="/showProvider" role="button">返回</a>
        </form>
    </div>
</main>

</body>
<script>

</script>

<style>

    .provider-detail {
        font-weight: bold;
        font-size: 20px;
    }

    .form-row-margin {
        margin-bottom: 20px;
    }

    .form-label {
        margin-left: 50px;
        margin-right: 20px;
    }

    .btn-return {
        margin-left: 50px;
    }

</style>
</html>